/*
 * @Description: 
 * @Author: HKH
 * @Date: 2024-09-02 08:54:00
 * @LastEditors: HKH
 * @LastEditTime: 2024-09-02 14:59:31
 */
 import java.util.Scanner;
 public class Text4{
     public static void main(String[] args){
        System.out.println("请输入要判断的年份：");
             Scanner sc = new Scanner(System.in);
             int year = sc.nextInt();
            if ((year%4==0&year%100!=0)||year%400==0){
                 System.out.println(year+"年是闰年");
             }
             else{
                 System.out.println(year+"年不是闰年");
             } 
     }
 }